<?php
include_once '../common_mbs.inc.php';
include_once '../smarty.inc.php';

//判断访问权限
$admin_index_module_obj = new osgh_admin_index_module_cls();
$is_warrant = $admin_index_module_obj->is_have_warrant($_ADMIN_ID,'news_type_list');
if(!$is_warrant) tcmc_cls::ShowMsg("没有权限访问！", "../index_body.html");

$act = trim($_INPUT['action']);

if($act == 'edit')
{
	$news_type_id = $_INPUT['news_type_id'];
	$news_type_obj = new news_type_cls();
	$news_type_arr = $news_type_obj->get_news_type_info($news_type_id);
	$smarty->assign('news_type' ,$news_type_arr);
}


$smarty->display('news/save_news_type.tpl');

?>
